package com.letfox.ad.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.user.dao.ADPlanUAccountDao;
import com.letfox.ad.user.model.ADPlanUAccount;
import com.letfox.ad.user.service.ADPlanUAccountService;

@Service
public class ADPlanUAccountServiceImpl implements ADPlanUAccountService{
	
	@Autowired
	private ADPlanUAccountDao planRlUAccountDao;
	
	@Override
	public int deleteByPrimaryKey(Long id) {
		return planRlUAccountDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ADPlanUAccount record) {
		return planRlUAccountDao.insert(record);
	}

	@Override
	public ADPlanUAccount selectByPrimaryKey(Long id) {
		return planRlUAccountDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKey(ADPlanUAccount record) {
		return planRlUAccountDao.updateByPrimaryKey(record);
	}

}
